home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / Utilities / C / Mesa / widgets-mesa / include / GL / MesaDrawingArea.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-31  |  1.7 KB  |  47 lines

  1. /* MesaDrawingArea.h -- Public header file for the Mesa widget
  2.    Copyright (C) 1995 Thorsten.Ohl @ Physik.TH-Darmstadt.de
  3.  
  4.    This library is free software; you can redistribute it and/or
  5.    modify it under the terms of the GNU Library General Public
  6.    License as published by the Free Software Foundation; either
  7.    version 2 of the License, or (at your option) any later version.
  8.  
  9.    This library is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.    GNU Library General Public License for more details.
  13.  
  14.    You should have received a copy of the GNU Library General Public
  15.    License along with this library; if not, write to the Free Software
  16.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  
  18.    $Id: MesaDrawingArea.h,v 1.8 1996/01/15 00:44:05 ohl Exp $
  19.  */
  20.  
  21. #ifndef _MesaDrawingArea_h
  22. #define _MesaDrawingArea_h
  23.  
  24. #include <GL/GLwDrawA.h>
  25.  
  26. #define GLwNximage "ximage"
  27. #define GLwCXImage "XImage"
  28. #define GLwNshareLists "shareLists"
  29. #define GLwCShareLists "ShareLists"
  30. #define GLwNshareListsWith "shareListsWith"
  31. #define GLwCShareListsWith "ShareListsWith"
  32.  
  33. #ifdef __GLX_MOTIF
  34. typedef struct _MesaMDrawingAreaClassRec *MesaMDrawingAreaWidgetClass;
  35. typedef struct _MesaMDrawingAreaRec *MesaMDrawingAreaWidget;
  36. extern WidgetClass mesaMDrawingAreaWidgetClass;
  37. void GLwMMakeCurrent (Widget w);
  38. #else
  39. typedef struct _MesaDrawingAreaClassRec *MesaDrawingAreaWidgetClass;
  40. typedef struct _MesaDrawingAreaRec *MesaDrawingAreaWidget;
  41. extern WidgetClass mesaDrawingAreaWidgetClass;
  42. void GLwMakeCurrent (Widget w);
  43. #endif
  44.  
  45.  
  46. #endif /* _MesaDrawingArea_h */
  47.